dom.onpropertychange = foo;
    dom.oninput = foo;
    dom.onkeyup = foo;
	dom.onblur = function(e){
		if(this.value.replace(/(^\s*)|(\s*$)/g, '').length==0){
			this.value="";
			this.setAttribute("init", "0");
			document.getElementById("setFuyanSize").innerHTML = "0";
		}
		if(this.getAttribute("init")=="0"){
			this.value = defText;
		}
	}
	dom.onfocus = function(e){
		if(this.getAttribute("init")=="0"){
			this.value = "";
		}
	}
	function foo(e){
		var v = this.value;
		if(v.length>maxSize){
			this.value = v.substr(0, maxSize);
		}
		this.setAttribute("value", this.value.replace(/[^\u00FF-\uFFFF\w]/g,""));
		document.getElementById("setFuyanSize").innerHTML = this.value.length;
		this.setAttribute("init", (this.value.length > 0 ? "1" : "0"));
	}
	